package com.itheima.dao;

import com.itheima.domain.LinkMan;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * ClassName:LinkManDao
 * Package:com.itheima.dao
 * Description:
 * Date:2020/3/1920:55
 * User: snow
 */
@Repository
public interface LinkManDao {

	public List<LinkMan> findAll() throws Exception;

	public void save(LinkMan linkMan) throws Exception;

	// 删除联系人
	public void delete(String id) throws Exception;

	// 模糊查询
	public List<LinkMan> findSome(LinkMan linkMan) throws Exception;

	public LinkMan findById(String id)throws Exception;

	public void update(LinkMan linkMan) throws Exception;

	public LinkMan findByVisitId(String id)throws Exception;

	public List<LinkMan> findLinkManByCustomerId(String id)throws Exception;
}
